package com.wk.unreal.yyzxserver.mapper;

import com.wk.unreal.yyzxserver.entity.BedDetails;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BedMapper {


   // @Select(" SELECT c.customer_name,c.customer_sex,bd.bed_details,bd.start_date,bd.end_date from bed b,beddetails bd,customer c WHERE b.id = bd.bed_id and bd.customer_id = c.id and b.bed_status != 1")
    public List<BedDetails> selectBedDetails(String customerName);

}
